package com.hd.mapper;

import com.hd.controller.dto.ViewLiuChengDto;
import com.hd.pojo.Case;
import com.hd.pojo.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 病例mapper on 2017/11/23.
 */
public interface CaseMapper extends BaseMapper<Case>{

    Integer searchCaseNoNum(@Param("memberId") Integer memberId);

    List<Case> searchViewLiuCheng(@Param("offset") Integer offset, @Param("limit") Integer limit, @Param("dto")ViewLiuChengDto dto);

    Integer getTotal( @Param("dto")ViewLiuChengDto dto);

}
